package com.orderplus.opshop.synces.service.product;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.orderplus.opshop.synces.bean.ProductDetailModel;
import com.orderplus.opshop.synces.entity.product.ProductProperty;

import java.util.List;
import java.util.Map;

/**
 * remark
 *
 * @author mhj
 * @date 2019-04-22 11:19:34
 */
public interface ProductPropertyService extends IService<ProductProperty> {
	List<ProductDetailModel> mapFromProductPropertyToProductDetailModel(Map<String, Object> map,String action,List<ProductDetailModel> productDetailModelList);

	List<ProductDetailModel.ProductProperty> appendPropListToMapObject(String propListSrcIds,String action);

	IPage<Map<String, Object>> pageMap(Page<Map<String, Object>> page);

}